add_library(matmul STATIC matmul.cu)

set_property(TARGET matmul PROPERTY CUDA_SEPARABLE_COMPILATION ON)
set_property(TARGET matmul PROPERTY POSITION_INDEPENDENT_CODE ON)
set_property(TARGET matmul PROPERTY CUDA_RESOLVE_DEVICE_SYMBOLS ON)